﻿/********************************************************************************
** @ Date:2025/08/04
** @ Author: Gaojia
** @ Description: 视频播放面板
** @ Version:1.0.0
** @ Fun:
********************************************************************************/
#ifndef UVideoPanel_H
#define UVideoPanel_H
#include "UBasePanel.h"
#include "ui_UVideoPanel.h"

class UVideoPanel : public UBasePanel
{
	Q_OBJECT
public:
	UVideoPanel(QWidget *parent = nullptr);
	~UVideoPanel();
private:
	bool startPlayVideo();	//开始播放视频
	bool endPlayVideo();	//停止播放视频
private:
	Ui::UVideoPanelClass ui;
	bool m_bIsPlaying;		//当前是否在播放视频
private slots:
	void slotDataRefresh();//定时器刷新
	void slot_btnClicked();
	void refreshData(bool bRefresh) override;     // 这个函数会被外部调用
};
#endif